<?php
/* @var $this GeneralinformationController */
/* @var $model Generalinformation */
/* @var $form CActiveForm */
?>

<div class="form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'generalinformation-form',
	// Please note: When you enable ajax validation, make sure the corresponding
	// controller action is handling ajax validation correctly.
	// There is a call to performAjaxValidation() commented in generated controller code.
	// See class documentation of CActiveForm for details on this.
	'enableAjaxValidation'=>false,
)); ?>

	<p class="note">Fields with <span class="required">*</span> are required.</p>

	<?php echo $form->errorSummary($model); ?>

	<div class="row">
		<?php echo $form->labelEx($model,'BuildingPermitNo'); ?>
		<?php echo $form->textField($model,'BuildingPermitNo',array('size'=>45,'maxlength'=>45)); ?>
		<?php echo $form->error($model,'BuildingPermitNo'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'DateIssuedBPN'); ?>
		<?php echo $form->textField($model,'DateIssuedBPN'); ?>
		<?php echo $form->error($model,'DateIssuedBPN'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'OccupancyPermitNo'); ?>
		<?php echo $form->textField($model,'OccupancyPermitNo',array('size'=>45,'maxlength'=>45)); ?>
		<?php echo $form->error($model,'OccupancyPermitNo'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'DateIssuedOPN'); ?>
		<?php echo $form->textField($model,'DateIssuedOPN'); ?>
		<?php echo $form->error($model,'DateIssuedOPN'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'FSICControlNo'); ?>
		<?php echo $form->textField($model,'FSICControlNo',array('size'=>45,'maxlength'=>45)); ?>
		<?php echo $form->error($model,'FSICControlNo'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'DateIssuedFSIC'); ?>
		<?php echo $form->textField($model,'DateIssuedFSIC'); ?>
		<?php echo $form->error($model,'DateIssuedFSIC'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'FCFee'); ?>
		<?php echo $form->textField($model,'FCFee'); ?>
		<?php echo $form->error($model,'FCFee'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'TotalFloorArea'); ?>
		<?php echo $form->textField($model,'TotalFloorArea'); ?>
		<?php echo $form->error($model,'TotalFloorArea'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'OtherInformation'); ?>
		<?php echo $form->textArea($model,'OtherInformation',array('rows'=>6, 'cols'=>50)); ?>
		<?php echo $form->error($model,'OtherInformation'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'Establishment_Id'); ?>
		<?php echo $form->textField($model,'Establishment_Id'); ?>
		<?php echo $form->error($model,'Establishment_Id'); ?>
	</div>

	<div class="row buttons">
		<?php echo CHtml::submitButton($model->isNewRecord ? 'Create' : 'Save'); ?>
	</div>

<?php $this->endWidget(); ?>

</div><!-- form -->